package com.yanfan.iot.model;

import com.yanfan.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author bill
 */
@Data
public class HistoryModel {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS")
    private Date datetime;

    private String moderName;

    private int isMonitor;

    private int logType;

    private int mode;

    private String remark;

    private String logValue;

    @Excel(name = "设备编号")
    private String serialNumber;

    @Excel(name = "时间戳")
    private String tiemDate;

    @Excel(name = "物模型")
    private String identity;

    @Excel(name = "上报值")
    private String value;

}
